package code3;

public class ShangWangTaoCan extends TaoCan implements ShangWangFuWu{

    private String shangWangLiuLiang;

    public String getShangWangLiuLiang() {
        return shangWangLiuLiang;
    }

    public void setShangWangLiuLiang(String shangWangLiuLiang) {
        this.shangWangLiuLiang = shangWangLiuLiang;
    }

    public void show(){
        System.out.println("上网流量："+shangWangLiuLiang);
        System.out.println("每月资费："+getMeiYueZiFei());
    }

    public void swfw(String flow, PhoneCard pc){
        System.out.println("上网套餐类实现上网服务接口");
    }
}
